import PropTypes from "prop-types";
function View({ title }) {
  console.log(title);
  return <div className="title">{title}</div>;
}
Comment.propTypes = {
  title: PropTypes.string,
};
export default View;
